const barRouter = require('./features/foo/routes')

module.exports = app => {
  app
    .use(barRouter.routes())
    .use(barRouter.allowedMethods({throw: true}))
}